<template>
	<view class="daylist">
		<view class="left">
			<image src="../../static/dangjian/xuexi/xinde.png" style="width: 72rpx; height:72rpx; margin-right: 20rpx">
			</image>
		</view>
		<view class="right">
			<view class="right_name">
				{{dayListObj.title}}
			</view>
			<view class="dj_dept_info">
				<view class="right_uploadInfo">
					<text class="peo">上传人:{{dayListObj.userName}}</text>
					<text class="time">{{uploadTime}}</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		newDate
	} from "../../utils/fun.js"
	export default {
		props: {
			dayListObj: {
				type: Object
			},
			isTongXun: {
				type: Boolean,
				default: true
			}
		},
		data() {
			return {
				uploadTime: '',
				fileName: "",
				djDeptName: ''
			};
		},
		created(options) {
			this.uploadTime = this.dayListObj.updateTime;
		},

		methods: {},
	};
</script>

<style>
	page {
		background: #F9F9F9;
	}

	.daylist {
		margin: 0 auto;
		margin-top: 24rpx;
		width: 702rpx;
		min-height: 140rpx;
		background: #FFFFFF;
		border-radius: 8rpx;
		display: flex;
		align-items: center;
		padding: 24rpx 30rpx;
		box-sizing: border-box;
		/* box-shadow: 4rpx 4rpx 6rpx rgba(15, 15, 15, 0.15); */
	}

	.left {
		flex: 1;
	}

	.right {
		flex: 9;
	}

	.right .right_name {
		width: 560rpx;
		color: #000000;
		font-size: 32rpx;
		font-weight: bold;
	}

	.right .peo {
		color: #000000;
		font-size: 24rpx;
		margin-right: 20rpx;
	}

	.right_uploadInfo {
		padding-top: 6rpx;
		margin-top: 20rpx;
	}

	.right_uploadInfo .time {
		font-size: 24rpx;
		color: #999999;
	}

	.dj_dept_info {
		margin: 10rpx 0;
	}

	.dj_dept_name,
	.activity_name {
		padding: 4rpx 8rpx;
		height: 36rpx;
		border-radius: 8rpx;
		font-size: 22rpx;
	}

	.dj_dept_name {
		width: 120rpx;
		background: #3B95FF;
		color: #FFFFFF;
		margin-right: 20rpx;
	}

	.activity_name {
		width: 180rpx;
		border: 1px solid #3B95FF;
		color: #3B95FF;
	}
</style>